import VueRouter from 'vue-router'
import Vue from 'vue'
Vue.use(VueRouter)

let routes = [
  {
    path: '',
    name: '组件名',
    componet: '组件',

  }
]

let router = new VueRouter({
  mode: 'history',
  routes
})
